namespace Pinky.Xml.BasicConverters
{
    public class FloatConverter : ITypeConverter<float>
    {
        public float FromString(string data)
        {
            return float.Parse(data);
        }

        public string ToString(float data)
        {
            return data.ToString();
        }
    }
}